package com.paas.form.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;

import com.paas.form.dao.FormApiLogParamDao;
import com.paas.form.entity.FormApiLogParamEntity;
import com.paas.form.service.IFormApiLogParamService;
import com.paas.common.web.service.BaseServiceImpl;

@Service("formApiLogParamService")
public class FormApiLogParamServiceImpl  extends BaseServiceImpl<FormApiLogParamDao,FormApiLogParamEntity> implements IFormApiLogParamService{

    @Override
    public FormApiLogParamEntity queryByLogId(String logId) {
        QueryWrapper queryWrapper = new QueryWrapper();
        queryWrapper.eq("log_id",logId);
        FormApiLogParamEntity formApiLogParamEntity = this.baseMapper.selectOne(queryWrapper);
        return formApiLogParamEntity;
    }
}